package com.data.modules.smzh.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import com.data.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 时迈睡眠检测
 * @Author: data-boot
 * @Date:   2023-05-23
 * @Version: V1.0
 */
@Data
@TableName("sm_sleep_info")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="sm_sleep_info对象", description="时迈睡眠检测")
public class SmSleepInfo implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**房间号*/
	@Excel(name = "房间号", width = 15)
    @ApiModelProperty(value = "房间号")
    private String roomNo;
	/**深度睡眠时长*/
	@Excel(name = "深度睡眠时长", width = 15)
    @ApiModelProperty(value = "深度睡眠时长")
    private String deepTime;
	/**深度睡眠比例*/
	@Excel(name = "深度睡眠比例", width = 15)
    @ApiModelProperty(value = "深度睡眠比例")
    private String deepRate;
	/**浅睡眠时长*/
	@Excel(name = "浅睡眠时长", width = 15)
    @ApiModelProperty(value = "浅睡眠时长")
    private String lightTime;
	/**浅睡眠比例*/
	@Excel(name = "浅睡眠比例", width = 15)
    @ApiModelProperty(value = "浅睡眠比例")
    private String lightRate;
	/**清醒时间*/
	@Excel(name = "清醒时间", width = 15)
    @ApiModelProperty(value = "清醒时间")
    private String wakeTime;
	/**清醒时间比例*/
	@Excel(name = "清醒时间比例", width = 15)
    @ApiModelProperty(value = "清醒时间比例")
    private String wakeRate;
	/**总睡眠时间*/
	@Excel(name = "总睡眠时间", width = 15)
    @ApiModelProperty(value = "总睡眠时间")
    private String totalTime;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
}
